Skip to main content
Version: 3.x.x

LogType


import { LogType } from "@hyper-fetch/core"

Description

Defined in managers/logger/logger.manager.types.ts:15

Preview

type LogType = {
additionalData: LoggerMessageType[];
enabled: boolean;
level: LoggerLevelType;
message: LoggerMessageType;
module: string;
severity: SeverityType;
}

Structure

{
additionalData: string | Record<string, unknown> | unknown[][];
enabled: boolean;
level: error | warning | info | debug;
message: string | Record<string, unknown> | unknown[];
module: string;
severity: 0 | 1 | 2 | 3;
}